package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("userResetBankInfo")
public class UserResetBankInfoDTO {

    @ApiModelProperty("验证码id")
    @NotNull(message = "验证码Id不能为空")
    private Long smsId;

    @ApiModelProperty("验证码")
    private String codes;

    @ApiModelProperty("用户手机号")
    @NotBlank(message = "手机号不能为空")
    private String userTel;

    @ApiModelProperty("是否开启短信验证")
    private Boolean isOpenSms;
}
